package com.ktjy.ktmall.entity;

import java.util.List;

public class Menu {
        private int ps_id;
        private String ps_name;
        private int ps_pid;
        private int ps_level;
        private String ps_api_path;
        private int ps_api_order;
        private String ps_icon;
        private int enabled;
        private String create_time;
        private String update_time;


        private List<Menu> children;

        public List<Menu> getChildren() {
            return children;
        }

        public Menu() {

         }

    public Menu(int ps_id, String ps_name, int ps_pid, int ps_level, String ps_api_path, int ps_api_order, String ps_icon, int enabled, String create_time, String update_time) {
        this.ps_id = ps_id;
        this.ps_name = ps_name;
        this.ps_pid = ps_pid;
        this.ps_level = ps_level;
        this.ps_api_path = ps_api_path;
        this.ps_api_order = ps_api_order;
        this.ps_icon = ps_icon;
        this.enabled = enabled;
        this.create_time = create_time;
        this.update_time= update_time;
    }

    public int getPs_id() {
        return ps_id;
    }

    public void setPs_id(int ps_id) {
        this.ps_id = ps_id;
    }

    public String getPs_name() {
        return ps_name;
    }

    public void setPs_name(String ps_name) {
        this.ps_name = ps_name;
    }

    public int getPs_pid() {
        return ps_pid;
    }

    public void setPs_pid(int ps_pid) {
        this.ps_pid = ps_pid;
    }

    public int getPs_level() {
        return ps_level;
    }

    public void setPs_level(int ps_level) {
        this.ps_level = ps_level;
    }

    public String getPs_api_path() {
        return ps_api_path;
    }

    public void setPs_api_path(String ps_api_path) {
        this.ps_api_path = ps_api_path;
    }

    public int getPs_api_order() {
        return ps_api_order;
    }

    public void setPs_api_order(int ps_api_order) {
        this.ps_api_order = ps_api_order;
    }

    public String getPs_icon() {
        return ps_icon;
    }

    public void setPs_icon(String ps_icon) {
        this.ps_icon = ps_icon;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
